﻿'Digite o NameSpace: Financeiro
'Digite o nome da Classe de dominio: Parcela

'--TESTE:-----------
'    <TestMethod()> _
'    Public Sub SalvarParcela()
'        Dim _Parcela As Parcela
'        _Parcela = New Parcela
'
'        _Parcela.Salvar()
'
'        Assert.IsTrue(_Parcela.Id.HasValue)
'    End Sub
<Serializable()> _
Public Class Parcela
    Inherits BaseDominio

#Region "Negocio"

    Public Sub New()
        MyBase.New()
    End Sub

    Public Overridable Function Buscar(ByVal _id As Long) As Parcela
        Return MyBase.ParcelaDao.Buscar(_id)
    End Function

    Public Overridable Sub Salvar()
        MyBase.ParcelaDao.Salvar(Me)
    End Sub

#End Region

End Class
